// 基于template/src/widgets/{{appEntities}}/{{ctrls@GRID}}-grid/{{spinalCase ctrl.codeName}}-grid-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

export class GridDataControlVO extends ControlVOBase {

    constructor(data: any){
        super(data);
        const wfKey = ['srftaskid','srftaskdefinitionkey','srfprocessdefinitionkey','srfprocessdefinitionid','srfprocessinstanceid'];
        //  表格自持属性
        this.$ownKeys = ['ibizappctrl', 'ibizappctrlname', 'ibizappctrltype', 'documentaddress', 'ctrldescription', 'amount', 'ibizappctrlid', 'srfkey', 'srfdataaccaction', 'srfmajortext', ...wfKey];
    }

    get ibizappctrlname() {
        return this.$DO.ibizappctrlname;
    }

    set ibizappctrlname(value: any) {
        this.$DO.ibizappctrlname = value;
    }
    get ibizappctrltype() {
        return this.$DO.ibizappctrltype;
    }

    set ibizappctrltype(value: any) {
        this.$DO.ibizappctrltype = value;
    }
    get documentaddress() {
        return this.$DO.documentaddress;
    }

    set documentaddress(value: any) {
        this.$DO.documentaddress = value;
    }
    get ctrldescription() {
        return this.$DO.ctrldescription;
    }

    set ctrldescription(value: any) {
        this.$DO.ctrldescription = value;
    }
    get amount() {
        return this.$DO.amount;
    }

    set amount(value: any) {
        this.$DO.amount = value;
    }
    get ibizappctrlid() {
        return this.$DO.ibizappctrlid;
    }

    set ibizappctrlid(value: any) {
        this.$DO.ibizappctrlid = value;
    }
    get srfkey() {
        return this.$DO.ibizappctrlid;
    }

    set srfkey(value: any) {
        this.$DO.ibizappctrlid = value;
    }
    get srfdataaccaction() {
        return this.$DO.ibizappctrlid;
    }

    set srfdataaccaction(value: any) {
        this.$DO.ibizappctrlid = value;
    }
    get srfmajortext() {
        return this.$DO.ibizappctrlname;
    }

    set srfmajortext(value: any) {
        this.$DO.ibizappctrlname = value;
    }

    set ibizappctrl(value: any) {
        this.$DO.ibizappctrlid = value;
    }
    get ibizappctrl() {
        return this.$DO.ibizappctrlid;
    }

    get srftaskid(){
        return this.$DO.srftaskid;
    }

    get srftaskdefinitionkey(){
        return this.$DO.srftaskdefinitionkey;
    }

    get srfprocessdefinitionkey(){
        return this.$DO.srfprocessdefinitionkey;
    }

    get srfprocessdefinitionid(){
        return this.$DO.srfprocessdefinitionid;
    }

    get srfprocessinstanceid(){
        return this.$DO.srfprocessinstanceid;
    }
}

export const GridControlVO = [{ name: 'GridControlVO', controlVO: GridDataControlVO }]